-- GENERATED SPELL FOR [Old Whitebark] --


function spell0_15409(pUnit, Event) --@Withered Touch,n/a--
pUnit:FullCastSpellOnTarget(11442,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_15409', 0, 1)
end

function Sorts_15409(pUnit, Event)
local choix_sorts_15409 = math.random(0, 0)
if choix_sorts_15409 == 0 then
pUnit:RegisterEvent('spell0_15409', 1, 1)
end
end

function mob15409_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_15409', math.random(1500, 3000), 1)
end

function mob15409_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15409_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob15409_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(15409, 1, 'mob15409_Action')
RegisterUnitEvent(15409, 2, 'mob15409_Leave')
RegisterUnitEvent(15409, 3, 'mob15409_Kill')
RegisterUnitEvent(15409, 4, 'mob15409_Die')
